package com.quanyan.ic.parkingLot.model;


import java.io.Serializable;

/**
 * Created by zhang on 17/8/22.
 */
public class HikApiResponse<T> implements Serializable{
    private int errorCode;
    private String errorMessage;
    private T data;

    public HikApiResponse(){

    }

    public HikApiResponse(int errorCode,String errorMessage,T data){
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
        this.data = data;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
